package com.itheima.controller.v1.api;

import com.itheima.common.R;
import com.itheima.dto.ContractQueryDto;
import com.itheima.pojo.TbContract;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;

@Api(description = "合同接口")
public interface ContractControllerApi {

    @ApiOperation("合同分页查询列表展示接口")
    public R listContract(ContractQueryDto contractQueryDto);

    @ApiOperation(value = "新增合同接口")
    public R addContract(TbContract tbContract);

    @ApiOperation("审核后查看合同详情,审核前查看审核流程接口")
    public R detailsContract(String id);

    @ApiOperation("合同审核--审核通过或驳回接口")
    public R auditContract(String id,String status);


}
